﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IUAP;

public partial class AccesoDenegado: BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        lblInsufficientPermissions.Visible = this.User.Identity.IsAuthenticated;
        lblLoginRequired.Visible = (!this.User.Identity.IsAuthenticated &&
           string.IsNullOrEmpty(this.Request.QueryString["loginfailure"]));
        lblInvalidCredentials.Visible = (
           this.Request.QueryString["loginfailure"] != null &&
           this.Request.QueryString["loginfailure"] == "1");

    }
}